//
//  basicdb.h
//  tcpoctest
//
//  Created by apple on 13-3-11.
//  Copyright (c) 2013年 gump. All rights reserved.
//
#import <pthread.h>

#import "FMDatabase.h"
#import "FMDatabaseAdditions.h"
#import "FMDatabasePool.h"
#import "FMDatabaseQueue.h"




@interface basicdb : NSObject
{
    FMDatabase  *db;
    
    pthread_mutex_t mutexdatabase;
}

-(void)creatTable;
-(id)initWithDB:(FMDatabase *)db withMutex:(pthread_mutex_t)mutexdat;
-(void)initData;
-(void)updateTable;

@end
